POV-Ray : Newsgroups : povray.binaries.scene-files : Lightning code : Re: Lightning code Server Time
2 Sep 2024 14:17:43 EDT (-0400)
  Re: Lightning code  
From: Nekar Xenos
Date: 10 May 2001 03:32:58
Message: <3afa442a@news.povray.org>
It won't work on my machine. I'm running PovWin 3.1g on Windows NT4.

It first gave me an error


    #macro push(s <----ERROR
    lightning2: error: identifier or expression, expected but s found instead.

so I replaced al the 's's with 'S's.

then I got the message that you can't use a negative fractional power in pow()
so I added an abs.

After quite a bit of parsing and ':' after #declares errors on line74 I got

    #declare S[sp][2] = col;
     #render.....
    #else

    #error concat("Stack pointer :",str(sp,5,0),"
maxstack:",str(maxstack,5,0),"/n") <----ERROR

    memory macro:68: error: user error directive hit.

And I don't have a clue what this is. How come it works on your machine and not
mine?

"Ben Birdsey" <cla### [at] mailcom> wrote in message
news:3AF9F97E.3DC141B0@mail.com...
>
> Here's a new "quick and dirty lightning".  The code works, but the
> textures are not as advanced as this original, but I'll let someone else
> worry about that.
>
> It works by recursively generating a "fractal" path using midpoint
> replacement.  I think it looks good, but let's see what the community
> thinks.
>
> Gentlemen (and women), start your renderers!
>
> -Ben
>  <><


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.